package com.alibaba.ai.service.impl;

import com.alibaba.ai.dao.EvaluateMapper;
import com.alibaba.ai.service.EvaluateService;
import com.alibaba.fastjson.JSON;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class EvaluateServiceImpl implements EvaluateService {
    @Resource
    private EvaluateMapper evaluateMapper;

    @Override
    public String selectByEvalute(String cVillageName, String cOrientationId, String cArea, Integer cFloor, Integer cTotalfloor) {
        return JSON.toJSONString(evaluateMapper.selectByEvaluate(cVillageName,cOrientationId,cArea,cFloor,cTotalfloor));
    }
}
